package controlador;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import modelo.Panamericano;

import vista.VentanaPrincipal;

public class ControladorPanamericano implements ActionListener{

	private VentanaPrincipal ventanapanamericano;
	private Panamericano panamericano;
	
	void ControladorPanamericano(){
		
		// mostramos la ventana
		ventanapanamericano = new VentanaPrincipal();
		ventanapanamericano.setLocationRelativeTo(null);
		ventanapanamericano.setVisible(true);
		ventanapanamericano.agregarListener(this);
		
		// instanciamos al modelo (donde estaran los ArrayLists)
		panamericano = new Panamericano();
		
		
		
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		// TODO Auto-generated method stub
		System.out.println(e.getActionCommand().toString());
		
		
	}

	
	
}
